<?php

function __autoload($class_name) {
	$type = 'index';
	$dirs = array(
			'Class', 'Class/Model', 'Class/Model/basic', 'Configuration', 'Class/View', 'Class/View/basic'
	);
	foreach($dirs as $dir)
	{
		if(file_exists($dir.'/'.$class_name.'.php'))
           require_once "$dir/$class_name.php";
        
			
	}
}


Mypdo::connect(ConfigDatabase::host, ConfigDatabase::username, ConfigDatabase::password, ConfigDatabase::dbname);


$model = Network_teached::loadModel(2, array('Network_prepared'));

$test = Network::loadModel();

$view = new MainView();
$view ->display();

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 * 
 * 
 * 
 * 
 */
?>
